#ifndef EMAIL_TONODE_H
#define EMAIL_TONODE_H

#include "EmailNode.h"
#include "Address.h"

namespace email{

	class ToNode : public EmailNode
	{
	private:
		QList <Address> addresslist;
	public:
		ToNode() : EmailNode("To") {}
		QList<Address> &getAddressListRef(){return addresslist;}
		virtual void parse(QString str){}
		virtual QString toString(){return "";}
		virtual void toDisplayString(QXmlStreamWriter & writer){}
		virtual void toXMLString(QXmlStreamWriter & writer){}
	};
}

#endif